﻿namespace AuthCenter.Api.Read.Application.Output
{
    /// <summary>
    /// 请假记录输出
    /// </summary>
    public class LeaveRecordOutput
    {
        public long Id { get; set; }
        /// <summary>
        /// 申请人姓名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 申请部门Id
        /// </summary>
        public long departmentId { get; set; }
        /// <summary>
        /// 请假类别
        /// </summary>
        public string TypeName { get; set; }
        // <summary>
        /// 请假时间
        /// </summary>
        public DateTime StartTime { get; set; }
        /// <summary>
        /// 请假结束时间
        /// </summary>
        public DateTime EndTime { get; set; }
        /// <summary>
        /// 请假事由
        /// </summary>
        public string Reason { get; set; }
        /// <summary>
        /// 部门领导
        /// </summary>
        public string Leader { get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public string Status { get; set; } 
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 请假天数
        /// </summary>
        public int Hour { get; set; }
        /// <summary>
        /// 报道时间
        /// </summary>
        public DateTime reportTime { get; set; }

        /// <summary>
        /// 审批意见
        /// </summary>
        public string? Remark { get; set; }
    }
}
